package com.emmy.walnut.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName RecordByDate
 * @Description TODO
 * @Author zhouxuan
 * @Date 2020/02/12 17:54
 * @Version 1.0
 */
public class RecordByDate {
    private List<Record> records = new ArrayList<>();
    private long timestamp;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public void addRecord(Record record){
        records.add(record);
    }

    public int getSize(){
        return records.size();
    }
}
